children | NN n/a IE 4 DOM n/a | ||
A collection of all elements contained in the current element. Collection members are sorted in source code order. Internet Explorer lets you use array notation or parentheses to access a single element in the collection. | |||
Object Model Reference
|
length | NN n/a IE 4 DOM n/a |
Read-only | |
Returns the number of elements in the collection. | |
Examplevar howMany = document.body.children.length | |
Value Integer. |